package com.example.vo;

public class Dog extends Animal{
    public Dog(String name, int age) {
        super(name, age);
        System.out.println("====狗类有参构造====");
    }

    public Dog()
    {
        System.out.println("====狗类无参构造====");
    }

    public void lookDoor()
    {
        System.out.println("====狗类看门方法====");
    }

    public void fly()
    {
        System.out.println("====狗类fly方法====");
    }

}
